package demo.orm;

import base.dao.BaseDao;
import demo.orm.pojo.ORMBaseDao;
import demo.orm.pojo.UserTest;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author : GuoFei
 * @date : 2019/1/25 18:05
 */
@Repository
public class UserTestDao extends ORMBaseDao<UserTest> {



    public List<UserTest> getList(){
        String sql = "select top 10 * from userTest";
        return list(sql);
    }

}
